#ifndef _DXGRAPHICS_H
#define _DXGRAPHICS_H
#include <d3d9.h>
#include <d3dx9.h>

class dxGraphics
{
protected:
	LPDIRECT3D9 _d3d;
	LPDIRECT3DDEVICE9 _d3ddev;
	LPDIRECT3DSURFACE9 _backbuffer;
public:
	dxGraphics();
	int Init_Direct3D(HWND, int, int, int);
	~dxGraphics();
};

#endif
